ListBox.HeadingIndex

Allows you to get and set the sort column in a ListBox. The first column is numbered zero.

Syntax

HeadingIndex as Integer

Notes

This property is obsolete. To sort a ListBox, use the SortedColumn property to set the sort column and the ColumnSortDirection property to set the direction of the sort. Then call the Sort method to do the sort.